.class Lrexsee/core/animation/RexseeTransition$4$1;
.super Ljava/lang/Object;
.source "RexseeTransition.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/animation/RexseeTransition$4;->run(Landroid/content/Context;Lrexsee/core/browser/Browser;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lrexsee/core/animation/RexseeTransition$4;


# direct methods
.method constructor <init>(Lrexsee/core/animation/RexseeTransition$4;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    .line 136
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    .prologue
    .line 139
    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v3

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v3

    iget-object v3, v3, Lrexsee/core/browser/Browser;->progressDialog:Lrexsee/core/progress/RexseeProgressDialog;

    invoke-virtual {v3}, Lrexsee/core/progress/RexseeProgressDialog;->hide()V

    .line 140
    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v3

    # getter for: Lrexsee/core/animation/RexseeTransition;->mStyleSheet:Lrexsee/core/animation/AnimationStyleSheet;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$1(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v3

    if-nez v3, :cond_1

    .line 158
    :cond_0
    :goto_0
    return-void

    .line 142
    :cond_1
    :try_start_0
    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v3

    # invokes: Lrexsee/core/animation/RexseeTransition;->getPageDiv()Lrexsee/core/widget/Div;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$4(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/widget/Div;

    move-result-object v1

    .line 143
    .local v1, "mDiv":Lrexsee/core/widget/Div;
    if-eqz v1, :cond_0

    .line 144
    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v3

    # getter for: Lrexsee/core/animation/RexseeTransition;->mPostStyleText:Ljava/lang/String;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$2(Lrexsee/core/animation/RexseeTransition;)Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_2

    .line 145
    new-instance v3, Lrexsee/core/animation/AnimationStyleSheet;

    iget-object v4, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v4}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v4

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v4}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v4

    invoke-direct {v3, v4}, Lrexsee/core/animation/AnimationStyleSheet;-><init>(Lrexsee/core/browser/Browser;)V

    iget-object v4, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v4}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v4

    # getter for: Lrexsee/core/animation/RexseeTransition;->mPostStyleText:Ljava/lang/String;
    invoke-static {v4}, Lrexsee/core/animation/RexseeTransition;->access$2(Lrexsee/core/animation/RexseeTransition;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lrexsee/core/animation/AnimationStyleSheet;->parseStyle(Ljava/lang/String;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v2

    .line 146
    .local v2, "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    iget-object v3, v2, Lrexsee/core/animation/AnimationStyleSheet;->animation_post_start:Ljava/lang/String;

    const-string v4, "start"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 147
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "inner-visibility:visible;background-color:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, v2, Lrexsee/core/animation/AnimationStyleSheet;->background_color:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ";"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lrexsee/core/widget/Div;->setStyleWithoutLayoutParams(Ljava/lang/String;)V

    .line 148
    iget-object v3, v2, Lrexsee/core/animation/AnimationStyleSheet;->animation_post_z:Ljava/lang/String;

    const-string v4, "reverse"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_3

    const/4 v3, 0x0

    :goto_1
    invoke-virtual {v1, v3}, Lrexsee/core/widget/Div;->setCoverToTop(Z)V

    .line 149
    iget-object v3, v1, Lrexsee/core/widget/Div;->mHorizontalLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v3}, Lrexsee/core/animation/AnimationStyleSheet;->animate(Landroid/view/View;)V

    .line 153
    .end local v2    # "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    :cond_2
    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v3

    # getter for: Lrexsee/core/animation/RexseeTransition;->mStyleSheet:Lrexsee/core/animation/AnimationStyleSheet;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$1(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v3

    iget-object v4, v1, Lrexsee/core/widget/Div;->coverLayout:Landroid/widget/FrameLayout;

    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v5

    # getter for: Lrexsee/core/animation/RexseeTransition;->mAnimationListener:Landroid/view/animation/Animation$AnimationListener;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition;->access$5(Lrexsee/core/animation/RexseeTransition;)Landroid/view/animation/Animation$AnimationListener;

    move-result-object v5

    invoke-virtual {v3, v4, v5}, Lrexsee/core/animation/AnimationStyleSheet;->animate(Landroid/view/View;Landroid/view/animation/Animation$AnimationListener;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 157
    .end local v1    # "mDiv":Lrexsee/core/widget/Div;
    :goto_2
    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v3

    # getter for: Lrexsee/core/animation/RexseeTransition;->mStyleSheet:Lrexsee/core/animation/AnimationStyleSheet;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$1(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v3

    iget-object v3, v3, Lrexsee/core/animation/AnimationStyleSheet;->animation_repeat:Ljava/lang/String;

    const-string v4, "repeat"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_0

    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v3

    invoke-virtual {v3}, Lrexsee/core/animation/RexseeTransition;->disable()V

    goto/16 :goto_0

    .line 148
    .restart local v1    # "mDiv":Lrexsee/core/widget/Div;
    .restart local v2    # "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    :cond_3
    const/4 v3, 0x1

    goto :goto_1

    .line 154
    .end local v1    # "mDiv":Lrexsee/core/widget/Div;
    .end local v2    # "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    :catch_0
    move-exception v3

    move-object v0, v3

    .line 155
    .local v0, "e":Ljava/lang/Exception;
    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v3

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v3

    iget-object v4, p0, Lrexsee/core/animation/RexseeTransition$4$1;->this$1:Lrexsee/core/animation/RexseeTransition$4;

    # getter for: Lrexsee/core/animation/RexseeTransition$4;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v4}, Lrexsee/core/animation/RexseeTransition$4;->access$0(Lrexsee/core/animation/RexseeTransition$4;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v4

    invoke-virtual {v4}, Lrexsee/core/animation/RexseeTransition;->getInterfaceName()Ljava/lang/String;

    move-result-object v4

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "Page ready error: "

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/Exception;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v4, v5}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2
.end method
